package br.edu.infnet.hibernate.util;

import java.util.ArrayList;
import java.util.List;

import br.edu.infnet.dao.ModuloDAO;
import br.edu.infnet.modelo.Modulo;

public class Teste {

	private static List<Modulo> listaModulos = new ArrayList<Modulo>();
	
	public static void main(String[] args) {
		    listaModulos = new ModuloDAO().listar();
		    for(Modulo m : listaModulos){
		    	System.out.println(m.getNome());
		    }
		    System.out.println("Fim!!!");
	}

}
